import { postMethod, getMethod } from '@/utils/request'

// 分页查询所有工程信息
const pageQueryEngineer = (params = {}) => {
  return getMethod('/engineer/pageQuery', params)
}

const saveEngineer = (params = {}) => {
  return postMethod('/engineer/saveOrUpdate', params)
}

export { pageQueryEngineer, saveEngineer }
